package com.example.nettydemo.client;


public class TcpClientTest {
    public static void main(String[] args) {
        TcpClient tcpClient = new TcpClient("127.0.0.1", 40001);
        // 客户端连接到服务器后，向服务器发送一条消息：
        tcpClient.connectServer();
        tcpClient.sendCommonMsg("我是Client，刚刚是我连接到你的！");
    }
}
